package com.itheima.IoTest_1;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class text_2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("IO\\a.txt");
        /*while (true) {
            int read = fis.read();
            System.out.println((char) read);
        }*/
        int b;
        while ((b=fis.read())!=-1) {
            int read = fis.read();
            System.out.println((char) read);
        }
        fis.close();
    }
}
